package com.study.manage.domain;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.study.manage.domain.enumm.BlogType;
import com.study.manage.domain.enumm.LiveDieState;

@Entity
@Table(name = "sa_blog")
public class Blog extends AbstractEntity {

    private static final long serialVersionUID = -4736719326396605775L;

    public Long userId;
    public String text;
    public String title;
    @Column(name = "typee")
    public BlogType type;
    public Long extId;
    public LiveDieState state = LiveDieState.LIVE;
    public Long looked;
    public String isChoose;
    public String extUrl;
    public String extUrl2;
    public Boolean isNeedPay = false;
    public String preText;
    public Float price;
    public Float price2;
    public Float price3;
    public String videoUrl;
    public String preVideoUrl;
    public String videoCoverUrl;


    public Blog() {

    }

    public Blog(Long id) {
        this.id = id;
    }


}

